/*
 * Copyright (C) Francisco Morero Peyrona. All rights reserved.
 *
 * This software is published under the terms of Open Source
 * License version 1.1, a copy of which has been included with this
 * distribution in the License.txt file.
 */

package jdbcmanager.swing.text;

import java.awt.*;
import javax.swing.*;
import javax.swing.text.*;

/**
 * Includes all common functiononality through all languages.
 * 
 * @author Francisco Morero Peyrona
 */
public class JxCodePane extends JxTextPane
{
	public JxCodePane()
	{
		bAddStyleChange2Undo = false; // Do not include attribute changes (color) in undo actions

		setFont( new Font( "Courier", Font.PLAIN, getFont().getSize() ) );
		setEditorKit( new StyledEditorKit() );
	}

	/**
	 *  
	 */
	public Action[] getBasicEditActions()
	{
		return aactEdit;
	}
}